package com.zhentao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhentao.model.common.buiness.pojo.Address;
import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.service.AddressService;
import com.zhentao.mapper.AddressMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 86150
* @description 针对表【address】的数据库操作Service实现
* @createDate 2024-09-21 09:46:51
*/
@Service
public class AddressServiceImpl extends ServiceImpl<AddressMapper, Address>
    implements AddressService{
@Resource
private AddressMapper addressMapper;
    @Override
    public ResponseResult list(Address address) {
        List<Address> list = addressMapper.List(address);
        return ResponseResult.okResult(list);
    }
}




